#ifndef NUMBERKEYBOARDDOT_H
#define NUMBERKEYBOARDDOT_H

#include <QWidget>
#include <QPushButton>
#include <QSignalMapper>

namespace Ui {
class NumberKeyBoardDot;
}

class NumberKeyBoardDot : public QWidget
{
    Q_OBJECT

public:
    explicit NumberKeyBoardDot(QWidget *parent = nullptr);
    ~NumberKeyBoardDot();

private:
    Ui::NumberKeyBoardDot *ui;
signals:
    void setNumber(int);
    void backspace();
    void ack();
    void cancel();
    void dot();
private slots:
    void on_Btn_Confirm_clicked();

    void on_Btn_Cancel_clicked();

    void on_Btn_Num_Dot_clicked();

    void on_Btn_Del_clicked();

private:
    QList<QPushButton*> m_lNumBtnList;
    QSignalMapper *m_pSignalMapper=nullptr;
};

#endif // NUMBERKEYBOARDDOT_H
